package com.bub.pay.core.manager.menu;

import com.bub.pay.core.entity.domain.SysPerm;
import com.bub.pay.core.entity.vo.user.AddSysPermVo;
import com.bub.pay.core.entity.vo.user.UpdateRoleVo;
import com.bub.pay.core.base.IBaseManager;

import java.util.List;

public interface PermManager extends IBaseManager<SysPerm> {

    int deletePerm(AddSysPermVo id);

    int updateRolePerm(UpdateRoleVo updateRoleVo);

    List<SysPerm> roleDifferencePerm(Long id);

    int countPermSizeByRole(Long roleId);

    int countEmployeeNumByRole(Long roleId);
}
